# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=portfolio
pkgver=1.0.0
pkgrel=0
pkgdesc="Minimalist file manager for those who want to use Linux mobile devices"
url="https://github.com/tchx84/Portfolio"
arch="noarch"
license="GPL-3.0-or-later"
depends="
	gtk4.0
	libadwaita
	py3-gettext
	py3-gobject3
	"
makedepends="
	gettext-dev
	glib-dev
	libadwaita-dev
	meson
	py3-setuptools
	"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/tchx84/Portfolio/archive/v$pkgver.tar.gz
	"
options="!check"  # no tests
subpackages="$pkgname-lang"
builddir="$srcdir/Portfolio-$pkgver"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install -C output
}

sha512sums="
bbb724a6c9b0e76fb8bd8bc91241ea85c64e8c27ad3015f4d0bb02b9f2896ebea3b8bba7cf8c3241d0a6801904ddbed432dfb1973f7a3944965c6efd97970819  portfolio-1.0.0.tar.gz
"
